Details

Time bar (total: 3.2s)

sample31.0ms

Algorithm
intervals
Results
15.0ms120×pre10240exit
4.0ms256×body80valid
2.0ms136×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: 8.0b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series81.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune91.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 7.1b

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt *-un-lft-identity
45×times-frac
34×add-cube-cbrt
15×associate-/r*
13×difference-of-squares
12×distribute-lft-out--
10×add-exp-log add-cbrt-cube
associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num div-inv
sub-neg diff-log
Counts
4 → 124
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
11.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series187.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ x0 (- 1.0 x1))
40.0ms
(/ x0 (- 1.0 x1))
34.0ms
(/ x0 (- 1.0 x1))
77.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify156.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0288828
11116773
24811759
35001759

prune250.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.8b
(+ (/ x0 (- 1.0 x1)) x0)
0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
6.2b
(- (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite36.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:
9.0ms
(+ (/ x0 (- 1.0 x1)) x0)
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
13.0ms
(- (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) (* x0 x0))

series191.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (/ x0 (- 1.0 x1)) x0)
35.0ms
(/ x0 (- 1.0 x1))
39.0ms
(/ x0 (- 1.0 x1))
77.0ms
(- (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify43.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0360705
11440666
25001648

prune216.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.8b

localize27.0ms

Local error

Found 4 expressions with local error:

0.9b
(pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3)
1.0b
(pow (* x0 x0) 3)
1.3b
(pow (/ x0 (- 1.0 x1)) 3)
5.6b
(- (pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
46×add-exp-log
43×add-sqr-sqrt
39×*-un-lft-identity
32×add-cbrt-cube
30×times-frac
25×add-cube-cbrt unpow-prod-down cube-prod
19×pow1 prod-exp
15×pow-exp
14×difference-of-squares
11×cbrt-unprod rem-cube-cbrt
10×pow-pow div-exp
pow-unpow sqr-pow
distribute-lft-out--
cbrt-undiv cube-div add-log-exp
pow-prod-down associate-/r/
cube-mult pow-to-exp flip3-- unpow3 associate-*r/ flip--
frac-times rec-exp 1-exp associate-*l/ un-div-inv div-inv
difference-cubes pow2 sub-neg pow-plus diff-log pow-sqr pow-prod-up
Counts
4 → 152
Calls
4 calls:
14.0ms
(pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3)
4.0ms
(pow (* x0 x0) 3)
11.0ms
(pow (/ x0 (- 1.0 x1)) 3)
8.0ms
(- (pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

series302.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3)
42.0ms
(pow (* x0 x0) 3)
64.0ms
(pow (/ x0 (- 1.0 x1)) 3)
116.0ms
(- (pow (* (* x0 (/ 1 (- 1.0 x1))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

simplify149.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (131.0ms)

IterNodesCost
08221217
13811943
25002938

prune435.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 3.7b

regimes53.0ms

Accuracy

77.8% (0.3b remaining)

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

bsearch1.0ms

Steps
ItersRangePoint
0
0.9814
0.999791
0.9905955

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05762
15762

end0.0ms

sample716.0ms

Algorithm
intervals
Results
387.0ms4008×pre10240exit
134.0ms8000×body80valid
61.0ms3992×pre80true