Details

Time bar (total: 1.8s)

analyze3.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1

sample23.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
06347
16347

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.4b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ 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 → 51
Calls
2 calls:
5.0ms
(/ x0 (- 1.0 x1))
11.0ms
(- (/ x0 (- 1.0 x1)) x0)

series12.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ x0 (- 1.0 x1))
7.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05110586

prune66.0ms

Filtered
44 candidates to 57 candidates (-29.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New55257
Fresh000
Picked101
Done000
Total56258

Merged error: 6.7b

Counts
58 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (- 1.0 x1) (- 1.0 x1))
0.5b
(/ (* x0 (- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
1.0b
(/ x0 (- 1.0 x1))
6.0b
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
42×add-sqr-sqrt
20×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
11×pow1 distribute-lft-out--
10×difference-of-squares
flip3-- associate-/r* flip--
swap-sqr
add-log-exp
associate-*r* associate-*l*
frac-times associate-*r/ associate-/r/ associate-/l*
cbrt-undiv sub-neg div-exp
frac-2neg associate-*l/ prod-exp clear-num cbrt-unprod div-inv associate-/l/ distribute-lft-out
pow2 distribute-rgt-in distribute-lft-in flip3-+ pow-plus diff-log pow-prod-down pow-sqr *-commutative pow-prod-up flip-+ unswap-sqr
Counts
4 → 121
Calls
4 calls:
11.0ms
(* (- 1.0 x1) (- 1.0 x1))
26.0ms
(/ (* x0 (- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
6.0ms
(/ x0 (- 1.0 x1))
14.0ms
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

series42.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(* (- 1.0 x1) (- 1.0 x1))
22.0ms
(/ (* x0 (- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
5.0ms
(/ x0 (- 1.0 x1))
12.0ms
(- (/ x0 (* (- 1.0 x1) (- 1.0 x1))) x0)

simplify33.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050671714

prune181.0ms

Filtered
93 candidates to 133 candidates (-43.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1312133
Fresh101
Picked101
Done000
Total1332135

Merged error: 5.3b

Counts
135 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ x0 (/ x0 (- 1.0 x1)))
0.5b
(/ (* x0 (- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
1.0b
(/ x0 (- 1.0 x1))
6.0b
(- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
29×add-sqr-sqrt
20×times-frac
16×add-cube-cbrt
11×add-exp-log add-cbrt-cube
associate-/r*
add-log-exp
difference-of-squares
distribute-lft-out--
pow1 associate-/r/ associate-/l*
cbrt-undiv flip3-- div-exp flip-- distribute-lft-out
frac-2neg flip3-+ associate-*r/ clear-num flip-+ div-inv associate-/l/
+-commutative sub-neg diff-log prod-exp sum-log cbrt-unprod
Counts
4 → 90
Calls
4 calls:
11.0ms
(+ x0 (/ x0 (- 1.0 x1)))
23.0ms
(/ (* x0 (- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
5.0ms
(/ x0 (- 1.0 x1))
12.0ms
(- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)

series56.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ x0 (/ x0 (- 1.0 x1)))
27.0ms
(/ (* x0 (- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)) (+ x0 (/ x0 (- 1.0 x1))))
6.0ms
(/ x0 (- 1.0 x1))
17.0ms
(- (/ x0 (+ 1.0 (- (* x1 x1) (* x1 2.0)))) x0)

simplify43.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050611513

prune132.0ms

Filtered
80 candidates to 102 candidates (-27.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1002102
Fresh101
Picked101
Done000
Total1022104

Merged error: 4.3b

Counts
104 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* x1 (- x1 2.0))
1.0b
(/ x0 (- 1.0 x1))
4.9b
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
6.0b
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
32×*-un-lft-identity
18×add-cube-cbrt
17×times-frac
difference-of-squares
add-exp-log add-cbrt-cube
pow1 log-pow distribute-lft-out--
exp-prod add-log-exp
associate-*r* associate-/r*
sub-neg log-prod
flip3-- associate-*l* flip-- associate-/l*
associate-*r/ associate-/r/
cbrt-undiv distribute-rgt-in log-div frac-2neg distribute-lft-in exp-diff diff-log div-exp rem-log-exp exp-sum pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 95
Calls
4 calls:
7.0ms
(* x1 (- x1 2.0))
5.0ms
(/ x0 (- 1.0 x1))
9.0ms
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
11.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

series44.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x1 (- x1 2.0))
5.0ms
(/ x0 (- 1.0 x1))
17.0ms
(log (exp (- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)))
17.0ms
(- (/ x0 (+ 1.0 (* x1 (- x1 2.0)))) x0)

simplify53.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051701154

prune156.0ms

Filtered
79 candidates to 107 candidates (-35.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1052107
Fresh101
Picked101
Done000
Total1072109

Merged error: 3.3b

Counts
109 → 2

regimes62.0ms

Accuracy

100% (0.0b remaining)

Error of 3.3b against oracle of 3.3b and baseline of 4.4b

bsearch12.0ms

Steps
ItersRangePoint
7
0.000209
0.0186
0.00021208908081054686

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06470
16470

end0.0ms

sample580.0ms

Algorithm
intervals
Results
147.0ms8000×body80valid

Profiling

Loading profile data...