Details

Time bar (total: 3.1s)

sample35.0ms

Algorithm
intervals
Results
14.0ms134×pre10240exit
9.0ms256×body80valid
2.0ms122×pre80true

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.5b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
6.0ms
(/ x0 (- 1.0 x1))
10.0ms
(- (/ x0 (- 1.0 x1)) x0)

series79.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune89.0ms

Filtered
58 candidates to 44 candidates (75.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 6.5b

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)
5.9b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

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

series178.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ x0 (- 1.0 x1))
35.0ms
(/ x0 (- 1.0 x1))
35.0ms
(+ (/ x0 (- 1.0 x1)) x0)
74.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

prune188.0ms

Filtered
111 candidates to 85 candidates (76.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.6b

localize15.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)
5.9b
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

rewrite40.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))
12.0ms
(+ (/ x0 (- 1.0 x1)) x0)
15.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

series295.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0395799
11569757
25002745

prune255.0ms

Filtered
114 candidates to 88 candidates (77.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.8b

localize24.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ x0 (- 1.0 x1))
0.8b
(+ (/ x0 (- 1.0 x1)) x0)
3.5b
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))))
5.9b
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

rewrite49.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))
10.0ms
(+ (/ x0 (- 1.0 x1)) x0)
15.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))))
16.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

series471.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ x0 (- 1.0 x1))
34.0ms
(+ (/ x0 (- 1.0 x1)) x0)
196.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))))
203.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ x0 (- (* 1.0 1.0) (* x1 x1))) (+ 1.0 x1))) (* x0 x0))

simplify48.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0476977
11738903
25002885

prune255.0ms

Filtered
99 candidates to 76 candidates (76.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.7b

regimes51.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02625
12625

end0.0ms

sample754.0ms

Algorithm
intervals
Results
397.0ms3962×pre10240exit
155.0ms8000×body80valid
63.0ms4038×pre80true