Details

Time bar (total: 4.4s)

sample27.0ms

Algorithm
intervals
Results
12.0ms272×body80valid

simplify124.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1438
2758
31208
41568
51898
62658
74518
810238
936328
1050018

prune3.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: 24.1b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.0b
(* z (- b y))
1.3b
(+ (* x y) (* z (- t a)))
23.2b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
associate-+r+
distribute-rgt-in sub-neg distribute-lft-in
flip3-+ flip-+
+-commutative fma-def associate-*r/ associate-/r/ *-commutative associate-/l/
flip3-- frac-2neg clear-num flip-- div-inv
Counts
4 → 30
Calls
4 calls:
4.0ms
(+ y (* z (- b y)))
3.0ms
(* z (- b y))
5.0ms
(+ (* x y) (* z (- t a)))
9.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series451.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ y (* z (- b y)))
37.0ms
(* z (- b y))
47.0ms
(+ (* x y) (* z (- t a)))
333.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify93.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0193178
1685163
23453158
35001158

prune133.0ms

Filtered
42 candidates to 26 candidates (61.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New33942
Fresh000
Picked101
Done000
Total34943

Merged error: 23.4b

Counts
43 → 9

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma z (- b y) y)
1.3b
(+ (* x y) (* z (- t a)))
23.2b
(/ (+ (* x y) (* z (- t a))) (fma z (- b y) y))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
associate-+r+
distribute-rgt-in sub-neg fma-def distribute-lft-in flip3-+ flip-+ associate-/l/
+-commutative frac-2neg clear-num *-commutative fma-udef div-inv
Counts
3 → 15
Calls
3 calls:
1.0ms
(fma z (- b y) y)
5.0ms
(+ (* x y) (* z (- t a)))
7.0ms
(/ (+ (* x y) (* z (- t a))) (fma z (- b y) y))

series411.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(fma z (- b y) y)
43.0ms
(+ (* x y) (* z (- t a)))
342.0ms
(/ (+ (* x y) (* z (- t a))) (fma z (- b y) y))

simplify66.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0125100
139789
2205587
3500187

prune76.0ms

Filtered
24 candidates to 14 candidates (58.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New20424
Fresh448
Picked011
Done000
Total24933

Merged error: 23.4b

Counts
33 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma z (- b y) y)
0.3b
(/ 1 (/ (fma z (- b y) y) (+ (* x y) (* z (- t a)))))
1.3b
(+ (* x y) (* z (- t a)))
23.2b
(/ (fma z (- b y) y) (+ (* x y) (* z (- t a))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
associate-+r+ clear-num
frac-2neg flip3-+ associate-/r* flip-+ div-inv
distribute-rgt-in sub-neg fma-def distribute-lft-in
+-commutative *-commutative fma-udef remove-double-div inv-pow
Counts
4 → 26
Calls
4 calls:
1.0ms
(fma z (- b y) y)
6.0ms
(/ 1 (/ (fma z (- b y) y) (+ (* x y) (* z (- t a)))))
5.0ms
(+ (* x y) (* z (- t a)))
5.0ms
(/ (fma z (- b y) y) (+ (* x y) (* z (- t a))))

series656.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(fma z (- b y) y)
479.0ms
(/ 1 (/ (fma z (- b y) y) (+ (* x y) (* z (- t a)))))
47.0ms
(+ (* x y) (* z (- t a)))
103.0ms
(/ (fma z (- b y) y) (+ (* x y) (* z (- t a))))

simplify64.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0138162
1425151
21863145
35001145

prune127.0ms

Filtered
38 candidates to 26 candidates (68.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New34438
Fresh437
Picked011
Done011
Total38947

Merged error: 12.3b

Counts
47 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma z (- b y) y)
0.6b
(/ 1 (fma z (- b y) y))
1.3b
(+ (* x y) (* z (- t a)))
22.8b
(* (/ 1 (fma z (- b y) y)) (+ (* x y) (* z (- t a))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
12×distribute-rgt-in associate-+r+ distribute-lft-in
frac-times sub-neg
flip3-+ flip-+
frac-2neg clear-num
+-commutative associate-*l/
fma-def associate-*r/ *-commutative div-inv
associate-*l* fma-udef inv-pow
Counts
4 → 39
Calls
4 calls:
1.0ms
(fma z (- b y) y)
2.0ms
(/ 1 (fma z (- b y) y))
5.0ms
(+ (* x y) (* z (- t a)))
9.0ms
(* (/ 1 (fma z (- b y) y)) (+ (* x y) (* z (- t a))))

series637.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(fma z (- b y) y)
62.0ms
(/ 1 (fma z (- b y) y))
44.0ms
(+ (* x y) (* z (- t a)))
504.0ms
(* (/ 1 (fma z (- b y) y)) (+ (* x y) (* z (- t a))))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0266361
1955325
25001323

prune106.0ms

Filtered
51 candidates to 26 candidates (51.0%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New50151
Fresh066
Picked011
Done022
Total501060

Merged error: 12.3b

Counts
60 → 10

regimes448.0ms

Accuracy

34.8% (8.2b remaining)

Error of 19.0b against oracle of 10.8b and baseline of 23.4b

bsearch124.0ms

Steps
ItersRangePoint
9
1.5340021636682078e+92
4.5336870613845745e+98
9.081015033724511e+95
10
-1.3164224548041124e+76
-1.4236159257461274e+63
-1.066732755010575e+75

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02810
12810

end0.0ms

sample703.0ms

Algorithm
intervals
Results
392.0ms8419×body80valid