Details

Time bar (total: 1.7s)

sample16.0ms

Algorithm
intervals
Results
8.0ms335×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2383
3473
4473

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: 0.1b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- 1.0 (* x y)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
5.0ms
(* x (- 1.0 (* x y)))

series43.0ms

Counts
1 → 3
Calls
1 calls:
43.0ms
(* x (- 1.0 (* x y)))

simplify88.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122130
1534113
22890113
35001113

prune42.0ms

Filtered
27 candidates to 16 candidates (59.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New21627
Fresh000
Picked101
Done000
Total22628

Merged error: 0.0b

Counts
28 → 6

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (neg (* x y))))
0.1b
(* x (neg (* x y)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
+-commutative distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* x (neg (* x y))))
5.0ms
(* x (neg (* x y)))

series59.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(+ (* x 1.0) (* x (neg (* x y))))
20.0ms
(* x (neg (* x y)))

simplify44.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0181210
11035183
25001179

prune73.0ms

Filtered
42 candidates to 32 candidates (76.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New41142
Fresh145
Picked011
Done000
Total42648

Merged error: 0.0b

Counts
48 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x (neg x)) y))
8.9b
(* (* x (neg x)) y)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-neg-out add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod
+-commutative flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 32
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* (* x (neg x)) y))
6.0ms
(* (* x (neg x)) y)

series59.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ (* x 1.0) (* (* x (neg x)) y))
21.0ms
(* (* x (neg x)) y)

simplify43.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0200203
1958176
25001165

prune55.0ms

Filtered
38 candidates to 26 candidates (68.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New37138
Fresh044
Picked011
Done011
Total37744

Merged error: 0.0b

Counts
44 → 7

localize235.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (* x y) (* x y))
0.8b
(* x (- (* 1.0 1.0) (* (* x y) (* x y))))
7.6b
(/ (* x (- (* 1.0 1.0) (* (* x y) (* x y)))) (+ 1.0 (* x y)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
44×pow1
22×add-exp-log add-cbrt-cube
18×pow-prod-down
10×prod-exp cbrt-unprod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*r/ associate-*l* pow-sqr pow-prod-up
times-frac associate-/r* add-log-exp
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus div-exp associate-/r/ *-commutative flip-- associate-/l/
pow2 frac-2neg flip3-+ swap-sqr clear-num flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
6.0ms
(* (* x y) (* x y))
6.0ms
(* x (- (* 1.0 1.0) (* (* x y) (* x y))))
10.0ms
(/ (* x (- (* 1.0 1.0) (* (* x y) (* x y)))) (+ 1.0 (* x y)))

series190.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(* (* x y) (* x y))
70.0ms
(* x (- (* 1.0 1.0) (* (* x y) (* x y))))
90.0ms
(/ (* x (- (* 1.0 1.0) (* (* x y) (* x y)))) (+ 1.0 (* x y)))

simplify70.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0381646
12121527
25003527

prune107.0ms

Filtered
93 candidates to 52 candidates (55.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New91293
Fresh134
Picked011
Done112
Total937100

Merged error: 0b

Counts
100 → 7

regimes43.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0185
1235
2245
3245

end0.0ms

sample427.0ms

Algorithm
intervals
Results
256.0ms10740×body80valid

Profiling

Loading profile data...