Details

Time bar (total: 3.5s)

sample26.0ms

Algorithm
intervals
Results
8.0ms251×body80valid
2.0ms12×body1280valid
2.0ms20×body320valid
1.0ms11×body640valid
0.0msbody160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.0b

Counts
2 → 2

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
2.3b
(fma (/ (- y z) (- a z)) (- t x) x)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- associate-/r/ flip-- associate-/l/
frac-2neg div-sub clear-num fma-udef div-inv
Counts
2 → 9
Calls
2 calls:
4.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

series163.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ (- y z) (- a z))
115.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

simplify54.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 4 (52.0ms)

IterNodesCost
010748
126848
270646
3228242
4500240

prune272.0ms

Filtered
15 candidates to 12 candidates (80.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New10515
Fresh011
Picked101
Done000
Total11617

Merged error: 2.8b

Counts
17 → 6

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.0b
(* (/ (- y z) (- a z)) (- t x))
2.0b
(+ (* (/ (- y z) (- a z)) (- t x)) x)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×flip3-- flip--
10×frac-times
associate-/l/
associate-*l* associate-/r/
fma-def associate-*l/
distribute-rgt-in sub-neg associate-+l+ frac-2neg distribute-lft-in clear-num
div-inv
associate-*r/ *-commutative
+-commutative flip3-+ div-sub flip-+
Counts
3 → 45
Calls
3 calls:
4.0ms
(/ (- y z) (- a z))
7.0ms
(* (/ (- y z) (- a z)) (- t x))
11.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

series547.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- y z) (- a z))
312.0ms
(* (/ (- y z) (- a z)) (- t x))
182.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

simplify46.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0356302
11545300
25001298

prune174.0ms

Filtered
54 candidates to 43 candidates (79.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New48654
Fresh235
Picked101
Done000
Total51960

Merged error: 2.7b

Counts
60 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.0b
(/ (- y z) (- a z))
0.6b
(* (/ (- y z) (- a z)) t)
3.1b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- associate-/r/ flip-- associate-/l/
associate-*l/
frac-2neg associate-*l* clear-num div-inv
div-sub
*-commutative fma-udef
Counts
4 → 26
Calls
4 calls:
4.0ms
(/ (- y z) (- a z))
4.0ms
(/ (- y z) (- a z))
5.0ms
(* (/ (- y z) (- a z)) t)
1.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series284.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (- y z) (- a z))
50.0ms
(/ (- y z) (- a z))
101.0ms
(* (/ (- y z) (- a z)) t)
81.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify98.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
013692
142292
2131992
3457188
4500188

prune144.0ms

Filtered
38 candidates to 31 candidates (81.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New34438
Fresh358
Picked101
Done000
Total38947

Merged error: 2.7b

Counts
47 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.2b
(* (- y z) (/ 1 (- a z)))
0.6b
(* (/ (- y z) (- a z)) t)
5.7b
(fma (- x) (* (- y z) (/ 1 (- a z))) x)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
associate-*l/
frac-times clear-num associate-/r/
frac-2neg
associate-/l/
associate-*r/ associate-*r* associate-*l* div-inv
un-div-inv *-commutative
div-sub fma-udef
Counts
4 → 35
Calls
4 calls:
4.0ms
(/ (- y z) (- a z))
5.0ms
(* (- y z) (/ 1 (- a z)))
5.0ms
(* (/ (- y z) (- a z)) t)
1.0ms
(fma (- x) (* (- y z) (/ 1 (- a z))) x)

series283.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (- y z) (- a z))
50.0ms
(* (- y z) (/ 1 (- a z)))
100.0ms
(* (/ (- y z) (- a z)) t)
80.0ms
(fma (- x) (* (- y z) (/ 1 (- a z))) x)

simplify70.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0183132
1792132
23525132
35001131

prune138.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New47047
Fresh088
Picked011
Done000
Total47956

Merged error: 2.7b

Counts
56 → 9

regimes209.0ms

Accuracy

9.8% (4.5b remaining)

Error of 7.7b against oracle of 3.2b and baseline of 8.2b

bsearch136.0ms

Steps
ItersRangePoint
10
7.754656091536779e-303
1.1726276398353017e-291
1.1580922259924246e-291
10
-2.996493172775562e-133
-4.728786603132531e-143
-5.2300501821702383e-135

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03418
13418

end0.0ms

sample710.0ms

Algorithm
intervals
Results
261.0ms7809×body80valid
62.0ms459×body640valid
42.0ms253×body1280valid
38.0ms414×body320valid
20.0ms280×body160valid
5.0ms29×body2560valid