Details

Time bar (total: 3.9s)

sample31.0ms

Algorithm
intervals
Results
12.0ms129×pre10240exit
7.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

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.6b
(- (/ 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:
5.0ms
(/ x0 (- 1.0 x1))
11.0ms
(- (/ x0 (- 1.0 x1)) x0)

series82.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(/ x0 (- 1.0 x1))
47.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify93.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0244328
1801315
23123310
35001310

prune88.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 7.2b

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

rewrite35.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))
16.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))

series184.0ms

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

simplify154.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0288828
11116773
24811759
35001759

prune247.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))
0.8b
(/ x0 (- 1.0 x1))
0.8b
(/ x0 (- 1.0 x1))
6.3b
(- (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) (* x0 x0))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
128×add-sqr-sqrt
108×times-frac
86×*-un-lft-identity
56×add-cube-cbrt
54×associate-*r*
46×sqrt-prod
30×cbrt-prod
29×add-exp-log
22×add-cbrt-cube
15×distribute-lft-out-- difference-of-squares unswap-sqr
14×associate-*l*
10×associate-/r*
cbrt-undiv div-exp
prod-exp associate-/r/ cbrt-unprod
pow1 associate-/l* add-log-exp
flip3-- flip--
sqrt-div div-inv
frac-2neg clear-num
frac-times sub-neg diff-log associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 193
Calls
4 calls:
36.0ms
(* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))
5.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
23.0ms
(- (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) (* x0 x0))

series213.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))
38.0ms
(/ x0 (- 1.0 x1))
33.0ms
(/ x0 (- 1.0 x1))
94.0ms
(- (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) (* x0 x0))

simplify106.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08222365
143022173
250021936

prune425.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 5.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))
0.9b
(pow (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) 3)
1.0b
(pow (* x0 x0) 3)
5.7b
(- (pow (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
94×add-exp-log
78×times-frac
73×add-cbrt-cube
54×*-un-lft-identity associate-*r*
46×sqrt-prod
39×prod-exp cbrt-unprod
38×add-cube-cbrt
30×cbrt-prod
28×cbrt-undiv div-exp
20×pow1
17×pow-exp rem-cube-cbrt
15×difference-of-squares unswap-sqr
14×associate-*l*
pow-pow
distribute-lft-out-- sqr-pow
cube-div
frac-times pow-unpow associate-*l/ add-log-exp
pow-prod-down
unpow-prod-down sqrt-div cube-prod associate-*r/ associate-/r/
flip3-- flip--
cube-mult pow-to-exp unpow3 div-inv
difference-cubes pow2 sub-neg pow-plus diff-log pow-sqr *-commutative pow-prod-up
Counts
4 → 211
Calls
4 calls:
36.0ms
(* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))
28.0ms
(pow (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) 3)
4.0ms
(pow (* x0 x0) 3)
9.0ms
(- (pow (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

series344.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1))))
96.0ms
(pow (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) 3)
41.0ms
(pow (* x0 x0) 3)
159.0ms
(- (pow (* (* (/ (* (cbrt x0) (cbrt x0)) (sqrt (- 1.0 x1))) (/ (cbrt x0) (sqrt (- 1.0 x1)))) (/ x0 (- 1.0 x1))) 3) (pow (* x0 x0) 3))

simplify48.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011003000
150012779

prune780.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.4b

regimes89.0ms

Accuracy

78.7% (0.6b remaining)

Error of 3.9b against oracle of 3.2b and baseline of 6.2b

bsearch60.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.00021208908081054686

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
049165
149165

end0.0ms

sample705.0ms

Algorithm
intervals
Results
378.0ms3949×pre10240exit
130.0ms8000×body80valid
60.0ms4051×pre80true