Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
8.0ms317×body80valid

simplify209.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1033754
1137624
1243764
1350024

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
4.1b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
*-un-lft-identity associate-*l*
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 46
Calls
2 calls:
6.0ms
(* (- 1.0 y) z)
5.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series76.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(* (- 1.0 y) z)
45.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify93.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune84.0ms

Filtered
52 candidates to 33 candidates (63.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New46652
Fresh000
Picked011
Done000
Total46753

Merged error: 0.0b

Counts
53 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
3.4b
(* (* x z) (- y 1.0))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in add-log-exp
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
associate-*r/
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
7.0ms
(* (* x z) (- y 1.0))

series109.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
48.0ms
(* (* x z) (- y 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0257266
11177224
25002219

prune76.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New44347
Fresh145
Picked011
Done011
Total45954

Merged error: 0.0b

Counts
54 → 9

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 1.0) (/ (* (* x z) (- (* y y) (* 1.0 1.0))) (+ y 1.0)))
6.3b
(* (* x z) (- (* y y) (* 1.0 1.0)))
7.1b
(/ (* (* x z) (- (* y y) (* 1.0 1.0))) (+ y 1.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
10×*-un-lft-identity
pow1
add-sqr-sqrt add-cube-cbrt prod-exp cbrt-unprod
add-log-exp
times-frac associate-*r/ associate-*r* associate-/r*
cbrt-undiv div-exp pow-prod-down
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out
+-commutative frac-2neg associate-*l* clear-num sum-log *-commutative div-inv associate-/l* difference-of-squares
Counts
3 → 65
Calls
3 calls:
6.0ms
(+ (* x 1.0) (/ (* (* x z) (- (* y y) (* 1.0 1.0))) (+ y 1.0)))
7.0ms
(* (* x z) (- (* y y) (* 1.0 1.0)))
11.0ms
(/ (* (* x z) (- (* y y) (* 1.0 1.0))) (+ y 1.0))

series316.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(+ (* x 1.0) (/ (* (* x z) (- (* y y) (* 1.0 1.0))) (+ y 1.0)))
77.0ms
(* (* x z) (- (* y y) (* 1.0 1.0)))
118.0ms
(/ (* (* x z) (- (* y y) (* 1.0 1.0))) (+ y 1.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0457679
12450560
25001560

prune130.0ms

Filtered
74 candidates to 48 candidates (64.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh066
Picked011
Done022
Total74983

Merged error: 0.0b

Counts
83 → 9

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
0.1b
(* (* x (sqrt (- 1.0 (* (- 1.0 y) z)))) (sqrt (- 1.0 (* (- 1.0 y) z))))
2.2b
(sqrt (- 1.0 (* (- 1.0 y) z)))
2.2b
(sqrt (- 1.0 (* (- 1.0 y) z)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-div
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
10×associate-*r/
flip3-- flip--
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 83
Calls
4 calls:
9.0ms
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
9.0ms
(* (* x (sqrt (- 1.0 (* (- 1.0 y) z)))) (sqrt (- 1.0 (* (- 1.0 y) z))))
2.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))
2.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))

series367.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(* x (sqrt (- 1.0 (* (- 1.0 y) z))))
45.0ms
(* (* x (sqrt (- 1.0 (* (- 1.0 y) z)))) (sqrt (- 1.0 (* (- 1.0 y) z))))
93.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))
94.0ms
(sqrt (- 1.0 (* (- 1.0 y) z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0356871
11452755
25002743

prune185.0ms

Filtered
95 candidates to 65 candidates (68.4%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New95095
Fresh055
Picked011
Done033
Total959104

Merged error: 0.0b

Counts
104 → 9

regimes327.0ms

Accuracy

93% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02813
12813

end0.0ms

sample452.0ms

Algorithm
intervals
Results
256.0ms10152×body80valid

Profiling

Loading profile data...