Details

Time bar (total: 3.3s)

sample26.0ms

Algorithm
intervals
Results
11.0ms125×pre10240exit
4.0ms256×body80valid
2.0ms131×pre80true

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.7b

localize4.0ms

Local error

Found 2 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
7.2b
(- (/ x0 (- 1.0 x1)) x0)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×*-un-lft-identity
16×times-frac
12×add-cube-cbrt
difference-of-squares
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
5.0ms
(/ x0 (- 1.0 x1))
33.0ms
(- (/ x0 (- 1.0 x1)) x0)

series81.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ x0 (- 1.0 x1))
42.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify91.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune88.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 6.8b

localize9.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
0.8b
(+ (/ x0 (- 1.0 x1)) x0)
6.0b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
10×associate-/r*
difference-of-squares
add-exp-log add-cbrt-cube distribute-lft-out-- add-log-exp
associate-/l*
pow1 associate-/r/
flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
+-commutative sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out
Counts
4 → 99
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
26.0ms
(+ (/ x0 (- 1.0 x1)) x0)
10.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series182.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ x0 (- 1.0 x1))
38.0ms
(/ x0 (- 1.0 x1))
35.0ms
(+ (/ x0 (- 1.0 x1)) x0)
76.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify40.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0341684
11318641
25001638

prune201.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
0.8b
(+ (/ x0 (- 1.0 x1)) x0)
6.0b
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
10×associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out-- add-log-exp difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
+-commutative sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out
Counts
4 → 98
Calls
4 calls:
7.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
23.0ms
(+ (/ x0 (- 1.0 x1)) x0)
57.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

series393.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ x0 (- 1.0 x1))
38.0ms
(/ x0 (- 1.0 x1))
36.0ms
(+ (/ x0 (- 1.0 x1)) x0)
284.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

simplify46.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0381813
11522765
25001749

prune249.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 4.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
0.8b
(+ (/ x0 (- 1.0 x1)) x0)
3.6b
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))))
6.0b
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

rewrite293.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
24×add-sqr-sqrt
16×add-cube-cbrt
15×times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 log-prod associate-/r*
log-pow distribute-lft-out-- difference-of-squares
exp-prod associate-/l*
sub-neg flip3-- exp-sum associate-/r/ flip--
cbrt-undiv +-commutative log-div frac-2neg flip3-+ exp-diff diff-log div-exp rem-log-exp clear-num sum-log flip-+ div-inv distribute-lft-out
Counts
4 → 79
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
25.0ms
(+ (/ x0 (- 1.0 x1)) x0)
205.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))))
55.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

series267.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ x0 (- 1.0 x1))
36.0ms
(+ (/ x0 (- 1.0 x1)) x0)
98.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))))
97.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (sqrt x0) (sqrt (- 1.0 x1))) (/ (sqrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

simplify45.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0412988
11595899
25001878

prune245.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 4.1b

regimes63.0ms

Accuracy

77.2% (0.5b remaining)

Error of 4.7b against oracle of 4.2b and baseline of 6.3b

bsearch37.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.00021208908081054686

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03539
13539

end0.0ms

sample687.0ms

Algorithm
intervals
Results
361.0ms3997×pre10240exit
132.0ms8000×body80valid
58.0ms4003×pre80true