Details

Time bar (total: 3.3s)

sample27.0ms

Algorithm
intervals
Results
12.0ms132×pre10240exit
4.0ms256×body80valid
2.0ms124×pre80true

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune2.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.7b
(/ x0 (- 1.0 x1))
7.2b
(- (/ 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:
5.0ms
(/ x0 (- 1.0 x1))
30.0ms
(- (/ x0 (- 1.0 x1)) x0)

series77.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune85.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.7b
(/ x0 (- 1.0 x1))
0.7b
(/ x0 (- 1.0 x1))
0.8b
(+ (/ x0 (- 1.0 x1)) x0)
6.1b
(- (* (/ 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))
7.0ms
(/ x0 (- 1.0 x1))
23.0ms
(+ (/ x0 (- 1.0 x1)) x0)
10.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series179.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ x0 (- 1.0 x1))
33.0ms
(/ x0 (- 1.0 x1))
39.0ms
(+ (/ x0 (- 1.0 x1)) x0)
70.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify38.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341684
11318641
25001638

prune192.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.8b

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ x0 (- 1.0 x1))
0.7b
(/ x0 (- 1.0 x1))
0.8b
(+ (/ x0 (- 1.0 x1)) x0)
6.1b
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

rewrite68.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 distribute-rgt-in distribute-lft-in associate--l+ 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 → 102
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
26.0ms
(+ (/ x0 (- 1.0 x1)) x0)
29.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

series301.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0395799
11569757
25002745

prune251.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ x0 (- 1.0 x1))
0.8b
(+ (/ x0 (- 1.0 x1)) x0)
3.7b
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))))
6.1b
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
24×add-sqr-sqrt
16×add-cube-cbrt
15×times-frac
log-prod
distribute-rgt-in distribute-lft-in associate--l+ add-log-exp
add-exp-log exp-sum add-cbrt-cube
pow1 associate-/r*
log-pow distribute-lft-out-- difference-of-squares
exp-prod associate-/l*
sub-neg flip3-- 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 → 87
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
22.0ms
(+ (/ x0 (- 1.0 x1)) x0)
90.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))))
29.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

series633.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0476977
11738903
25002885

prune236.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.9b

regimes36.0ms

Accuracy

0% (1.2b remaining)

Error of 5.2b against oracle of 4.0b and baseline of 5.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02625
12625

end0.0ms

sample677.0ms

Algorithm
intervals
Results
357.0ms3916×pre10240exit
128.0ms8000×body80valid
58.0ms4084×pre80true