Details

Time bar (total: 3.0s)

sample28.0ms

Algorithm
intervals
Results
12.0ms134×pre10240exit
4.0ms256×body80valid
2.0ms122×pre80true

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0103
1123
2123

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.8b

localize5.0ms

Local error

Found 2 expressions with local error:

0.7b
(/ x0 (- 1.0 x1))
7.3b
(- (/ x0 (- 1.0 x1)) x0)

rewrite40.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:
8.0ms
(/ x0 (- 1.0 x1))
29.0ms
(- (/ x0 (- 1.0 x1)) x0)

series76.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(/ x0 (- 1.0 x1))
43.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify99.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune93.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 6.9b

localize9.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ x0 (- 1.0 x1))
0.7b
(/ x0 (- 1.0 x1))
0.7b
(+ (/ x0 (- 1.0 x1)) x0)
6.2b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite48.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))
25.0ms
(+ (/ x0 (- 1.0 x1)) x0)
10.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series180.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0341684
11318641
25001638

prune205.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ x0 (- 1.0 x1))
0.7b
(+ (/ x0 (- 1.0 x1)) x0)
3.8b
(log (exp (- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))))
6.2b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite75.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 difference-of-squares
pow1 log-prod associate-/r* log-pow
exp-prod distribute-lft-out--
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 → 81
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
23.0ms
(+ (/ x0 (- 1.0 x1)) x0)
36.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))))
10.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series221.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ x0 (- 1.0 x1))
35.0ms
(+ (/ x0 (- 1.0 x1)) x0)
74.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))))
75.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify44.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0375701
11405638
25001629

prune219.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 4.7b

localize16.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ x0 (- 1.0 x1))
0.7b
(+ (/ x0 (- 1.0 x1)) x0)
0.8b
(/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1)))
6.2b
(- (* (/ x0 (- 1.0 x1)) (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
30×add-sqr-sqrt
23×times-frac
18×add-cube-cbrt
13×associate-/r*
11×add-exp-log
10×sqrt-prod
add-cbrt-cube
add-log-exp
distribute-lft-out-- difference-of-squares
pow1 associate-/r/ associate-/l*
cbrt-undiv flip3-- div-exp flip--
frac-2neg sqrt-div clear-num div-inv
+-commutative sub-neg flip3-+ diff-log prod-exp sum-log cbrt-unprod flip-+ distribute-lft-out
Counts
4 → 94
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
24.0ms
(+ (/ x0 (- 1.0 x1)) x0)
9.0ms
(/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1)))
68.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

series337.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ x0 (- 1.0 x1))
37.0ms
(+ (/ x0 (- 1.0 x1)) x0)
170.0ms
(/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1)))
92.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

simplify70.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0611991
12672907
25003886

prune266.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 3.9b

regimes58.0ms

Accuracy

71% (0.7b remaining)

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

bsearch31.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.00021208908081054686

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02935
12935

end0.0ms

sample714.0ms

Algorithm
intervals
Results
379.0ms4069×pre10240exit
135.0ms8000×body80valid
61.0ms3931×pre80true