Details

Time bar (total: 3.2s)

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

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series79.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(/ x0 (- 1.0 x1))
45.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify94.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune88.0ms

Filtered
58 candidates to 44 candidates (75.9%)
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.7b
(/ x0 (- 1.0 x1))
0.7b
(/ x0 (- 1.0 x1))
0.7b
(/ x0 (- 1.0 x1))
6.3b
(- (* (/ 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))
10.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series184.0ms

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

simplify166.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0288828
11116773
24811759
35001759

prune250.0ms

Filtered
136 candidates to 103 candidates (75.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.7b
(+ (/ x0 (- 1.0 x1)) x0)
0.7b
(/ x0 (- 1.0 x1))
0.7b
(/ x0 (- 1.0 x1))
6.3b
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

rewrite66.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:
23.0ms
(+ (/ x0 (- 1.0 x1)) x0)
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
30.0ms
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

series180.0ms

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

prune241.0ms

Filtered
110 candidates to 83 candidates (75.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 4.7b

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

rewrite76.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:
15.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
15.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
15.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
30.0ms
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

series480.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
133.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
138.0ms
(cbrt (+ (/ x0 (- 1.0 x1)) x0))
72.0ms
(- (* (/ x0 (- 1.0 x1)) (/ (/ x0 (sqrt (- 1.0 x1))) (sqrt (- 1.0 x1)))) (* x0 x0))

simplify129.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0320789
11150706
24935627
35002627

prune207.0ms

Filtered
66 candidates to 57 candidates (86.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 4.7b

regimes42.0ms

Accuracy

0% (1.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01926
11926

end0.0ms

sample699.0ms

Algorithm
intervals
Results
362.0ms3940×pre10240exit
139.0ms8000×body80valid
60.0ms4060×pre80true