Details

Time bar (total: 2.4s)

sample35.0ms

Algorithm
intervals
Results
14.0ms90×body1280valid
5.0ms48×body640valid
2.0ms73×body80valid
2.0ms13×body2560valid
2.0ms20×body320valid
1.0ms12×body160valid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.3b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
9.9b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
*-un-lft-identity
add-sqr-sqrt sum-log
diff-log
pow1 add-exp-log add-cube-cbrt add-cbrt-cube distribute-lft-out--
+-commutative sub-neg flip3-- flip3-+ flip-- flip-+ distribute-lft-out associate--r+ difference-of-squares
Counts
2 → 29
Calls
2 calls:
4.0ms
(+ (* x y) z)
7.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series61.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ (* x y) z)
37.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune86.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 42.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
3.2b
(- (* (* x y) (* x y)) (* z z))
11.5b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
31.6b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
18×add-exp-log *-un-lft-identity add-cbrt-cube
17×pow-prod-down
15×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
11×add-log-exp
prod-exp cbrt-unprod
difference-of-squares
flip3-- pow-sqr pow-prod-up flip-- associate-/l*
diff-log associate-/r*
sub-neg pow-plus div-sub associate-/r/ associate-/l/ distribute-lft-out--
cbrt-undiv pow2 associate-+r- frac-2neg swap-sqr div-exp associate-*r* associate-*l* clear-num sum-log *-commutative div-inv distribute-lft-out associate--r+ associate--r-
Counts
4 → 101
Calls
4 calls:
6.0ms
(* (* x y) (* x y))
6.0ms
(- (* (* x y) (* x y)) (* z z))
15.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
12.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series215.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* x y) (* x y))
61.0ms
(- (* (* x y) (* x y)) (* z z))
68.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
54.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify63.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0427979
12002820
25001784

prune271.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 42.5b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ z (+ (* x y) 1.0))
9.9b
(- (fma x y z) (+ z (+ (* x y) 1.0)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
*-un-lft-identity
sum-log
add-sqr-sqrt
diff-log
pow1 add-exp-log add-cube-cbrt add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative sub-neg associate-+r+ flip3-- flip3-+ flip-- flip-+ associate--r+ difference-of-squares
Counts
2 → 32
Calls
2 calls:
5.0ms
(+ z (+ (* x y) 1.0))
7.0ms
(- (fma x y z) (+ z (+ (* x y) 1.0)))

series63.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ z (+ (* x y) 1.0))
40.0ms
(- (fma x y z) (+ z (+ (* x y) 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0163239
1539228
22487228
35002228

prune115.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 28.9b

localize8.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (fma x y z) z)
9.1b
(- (- (fma x y z) z) (+ (* x y) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
*-un-lft-identity
diff-log
add-sqr-sqrt
flip3-- frac-sub flip-- distribute-lft-out--
sub-neg
pow1 add-exp-log add-cube-cbrt flip3-+ associate--l+ sum-log add-cbrt-cube flip-+ difference-of-squares
associate--l- associate--r+
Counts
2 → 40
Calls
2 calls:
3.0ms
(- (fma x y z) z)
9.0ms
(- (- (fma x y z) z) (+ (* x y) 1.0))

series58.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(- (fma x y z) z)
40.0ms
(- (- (fma x y z) z) (+ (* x y) 1.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0275373
11133361
25001349

prune103.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 13.5b

regimes111.0ms

Accuracy

0% (0.1b remaining)

Error of 15.1b against oracle of 15.0b and baseline of 15.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample921.0ms

Algorithm
intervals
Results
340.0ms2612×body1280valid
169.0ms1618×body640valid
97.0ms616×body2560valid
59.0ms2060×body80valid
57.0ms738×body320valid
19.0ms356×body160valid