Details

Time bar (total: 2.1s)

sample16.0ms

Algorithm
intervals
Results
6.0ms350×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2443
3623
4633
5633

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite18.0ms

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

series41.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0151198
1642173
23593170
35001162

prune54.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* x y))))
0.2b
(* x (- (* x y)))

rewrite21.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
expm1-log1p-u log1p-expm1-u
+-commutative distribute-lft-neg-in neg-mul-1 fma-def 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 → 41
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* x (- (* x y))))
11.0ms
(* x (- (* x y)))

series56.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0191230
11093202
25002198

prune102.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-diff
distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u sub-neg associate-*r/ log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef unswap-sqr
Counts
2 → 42
Calls
2 calls:
17.0ms
(* x (- 1.0 (* x y)))
0.0ms
(fma (- y) x (* y x))

series58.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(* x (- 1.0 (* x y)))
22.0ms
(fma (- y) x (* y x))

simplify108.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0161248
1676216
23769213
35001213

prune104.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (* x y))) (cbrt (- (* x y))))
13.6b
(cbrt (- (* x y)))
13.6b
(cbrt (- (* x y)))
13.6b
(cbrt (- (* x y)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
46×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3 swap-sqr associate-*r* associate-*l*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 99
Calls
4 calls:
22.0ms
(* (cbrt (- (* x y))) (cbrt (- (* x y))))
2.0ms
(cbrt (- (* x y)))
2.0ms
(cbrt (- (* x y)))
2.0ms
(cbrt (- (* x y)))

series406.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* (cbrt (- (* x y))) (cbrt (- (* x y))))
93.0ms
(cbrt (- (* x y)))
92.0ms
(cbrt (- (* x y)))
93.0ms
(cbrt (- (* x y)))

simplify116.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0239758
1841707
24215636
35001636

prune301.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes45.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1148

end0.0ms

sample400.0ms

Algorithm
intervals
Results
183.0ms10640×body80valid