Details

Time bar (total: 4.4s)

sample36.0ms

Algorithm
intervals
Results
19.0ms134×pre10240exit
5.0ms256×body80valid
2.0ms122×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)

rewrite68.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:
11.0ms
(/ x0 (- 1.0 x1))
55.0ms
(- (/ x0 (- 1.0 x1)) x0)

series69.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(/ x0 (- 1.0 x1))
36.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

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

rewrite91.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:
12.0ms
(/ x0 (- 1.0 x1))
11.0ms
(/ x0 (- 1.0 x1))
43.0ms
(+ (/ x0 (- 1.0 x1)) x0)
22.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series155.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ x0 (- 1.0 x1))
29.0ms
(/ x0 (- 1.0 x1))
35.0ms
(+ (/ x0 (- 1.0 x1)) x0)
62.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify44.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0341684
11318641
25001638

prune443.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.8b

localize12.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.0b
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

rewrite113.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:
12.0ms
(/ x0 (- 1.0 x1))
11.0ms
(/ x0 (- 1.0 x1))
41.0ms
(+ (/ x0 (- 1.0 x1)) x0)
46.0ms
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

series160.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ x0 (- 1.0 x1))
34.0ms
(/ x0 (- 1.0 x1))
31.0ms
(+ (/ x0 (- 1.0 x1)) x0)
66.0ms
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

simplify41.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0358759
11401703
25002665

prune590.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 4.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.9b
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
0.9b
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
0.9b
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
6.0b
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 54
Calls
4 calls:
26.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
26.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
25.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
46.0ms
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

series431.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
125.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
119.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
66.0ms
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

simplify128.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0320789
11150706
24935627
35002627

prune713.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 4.5b

regimes79.0ms

Accuracy

0% (1.0b remaining)

Error of 5.7b against oracle of 4.8b and baseline of 5.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01926
11926

end0.0ms

sample825.0ms

Algorithm
intervals
Results
468.0ms4002×pre10240exit
142.0ms8000×body80valid
78.0ms3998×pre80true