Details

Time bar (total: 3.8s)

sample40.0ms

Algorithm
intervals
Results
11.0ms79×body1280valid
5.0ms46×body640valid
4.0ms20×body2560valid
3.0ms30×body320valid
2.0ms71×body80valid
1.0ms10×body160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 43.7b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
7.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)))

series15.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (* x y) z)
10.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

prune93.0ms

Filtered
35 candidates to 24 candidates (31.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New29635
Fresh000
Picked011
Done000
Total29736

Merged error: 43.2b

Counts
36 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
3.0b
(- (* (* x y) (* x y)) (* z z))
9.1b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
28.8b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite43.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))
14.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
14.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series61.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (* x y) (* x y))
14.0ms
(- (* (* x y) (* x y)) (* z z))
23.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
15.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify60.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0427979
12002820
25001784

prune553.0ms

Filtered
113 candidates to 67 candidates (40.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10112113
Fresh235
Picked101
Done101
Total10515120

Merged error: 42.9b

Counts
120 → 15

localize13.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
9.6b
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
17.0b
(/ (* z z) (- (* x y) z))
18.8b
(/ (* (* x y) (* x y)) (- (* x y) z))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log add-cbrt-cube
22×*-un-lft-identity
18×add-log-exp
10×add-sqr-sqrt
prod-exp cbrt-unprod
add-cube-cbrt
cbrt-undiv div-exp
times-frac associate-/r*
sum-log distribute-lft-out
pow1 flip3-- diff-log associate-/r/ flip-- distribute-lft-out--
sub-neg associate-+l+ frac-2neg frac-add clear-num div-inv associate-/l*
+-commutative associate-+l- flip3-+ flip-+ associate--r+ difference-of-squares
Counts
4 → 90
Calls
4 calls:
16.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
9.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
6.0ms
(/ (* z z) (- (* x y) z))
11.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))

series65.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z)))) (/ (* z z) (- (* x y) z)))
17.0ms
(- (fma x y z) (+ 1.0 (/ (* (* x y) (* x y)) (- (* x y) z))))
14.0ms
(/ (* z z) (- (* x y) z))
11.0ms
(/ (* (* x y) (* x y)) (- (* x y) z))

simplify64.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05171148
127341043
250011043

prune444.0ms

Filtered
102 candidates to 67 candidates (34.3%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New957102
Fresh21214
Picked101
Done000
Total9819117

Merged error: 42.9b

Counts
117 → 19

localize13.0ms

Local error

Found 4 expressions with local error:

1.5b
(+ (- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z))))) (/ (* z z) (- (* x y) z)))
8.9b
(- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z)))))
9.1b
(/ (* x y) (- (* x y) z))
17.0b
(/ (* z z) (- (* x y) z))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
18×add-log-exp
15×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt
times-frac associate-/r*
sum-log
pow1 cbrt-undiv flip3-- diff-log div-exp associate-/r/ flip--
sub-neg associate-+l+ frac-2neg frac-add prod-exp clear-num cbrt-unprod div-inv distribute-lft-out associate-/l* distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ associate--r+ difference-of-squares
Counts
4 → 82
Calls
4 calls:
12.0ms
(+ (- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z))))) (/ (* z z) (- (* x y) z)))
5.0ms
(- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z)))))
6.0ms
(/ (* x y) (- (* x y) z))
7.0ms
(/ (* z z) (- (* x y) z))

series63.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z))))) (/ (* z z) (- (* x y) z)))
17.0ms
(- (fma x y z) (+ 1.0 (* (* x y) (/ (* x y) (- (* x y) z)))))
9.0ms
(/ (* x y) (- (* x y) z))
14.0ms
(/ (* z z) (- (* x y) z))

simplify49.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
04351002
11965933
25002933

prune389.0ms

Filtered
94 candidates to 67 candidates (28.7%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New85994
Fresh11718
Picked101
Done000
Total8726113

Merged error: 42.9b

Counts
113 → 26

regimes520.0ms

Accuracy

0% (0.8b remaining)

Error of 44.9b against oracle of 44.1b and baseline of 44.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01914
11914

end0.0ms

sample1.1s

Algorithm
intervals
Results
383.0ms2639×body1280valid
182.0ms1591×body640valid
105.0ms582×body2560valid
68.0ms2118×body80valid
61.0ms707×body320valid
22.0ms363×body160valid

Profiling

Loading profile data...