Details

Time bar (total: 2.8s)

sample27.0ms

Algorithm
intervals
Results
12.0ms129×pre10240exit
4.0ms256×body80valid
2.0ms127×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.8b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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))
15.0ms
(- (/ x0 (- 1.0 x1)) x0)

series80.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune84.0ms

Filtered
58 candidates to 44 candidates (75.9%)
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))

rewrite39.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:
9.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
10.0ms
(+ (/ x0 (- 1.0 x1)) x0)
12.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series176.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ x0 (- 1.0 x1))
32.0ms
(/ x0 (- 1.0 x1))
38.0ms
(+ (/ x0 (- 1.0 x1)) x0)
69.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

prune186.0ms

Filtered
111 candidates to 85 candidates (76.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.9b

localize12.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))

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

series214.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ x0 (- 1.0 x1))
38.0ms
(+ (/ x0 (- 1.0 x1)) x0)
72.0ms
(log (exp (- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))))
71.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify39.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0375701
11405638
25001629

prune201.0ms

Filtered
93 candidates to 73 candidates (78.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 4.7b

localize15.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))

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

series328.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ x0 (- 1.0 x1))
39.0ms
(+ (/ x0 (- 1.0 x1)) x0)
167.0ms
(/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1)))
90.0ms
(- (* (/ x0 (- 1.0 x1)) (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))) (* x0 x0))

simplify63.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0611991
12672907
25003886

prune255.0ms

Filtered
106 candidates to 79 candidates (74.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 3.9b

regimes57.0ms

Accuracy

70.7% (0.7b remaining)

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

bsearch36.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

sample687.0ms

Algorithm
intervals
Results
360.0ms4015×pre10240exit
132.0ms8000×body80valid
59.0ms3985×pre80true