Details

Time bar (total: 3.3s)

sample26.0ms

Algorithm
intervals
Results
8.0ms255×body80valid
2.0ms18×body640valid
1.0msbody1280valid
1.0ms12×body320valid
0.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune7.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: 13.3b

Counts
2 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- t x) (- a z))
2.1b
(+ x (* (- y z) (/ (- t x) (- a z))))
5.3b
(* (- y z) (/ (- t x) (- a z)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×flip3-- flip--
10×frac-times
associate-/l/
associate-*r/ clear-num
frac-2neg associate-/r/
associate-*r*
associate-*l/ div-inv
+-commutative flip3-+ div-sub un-div-inv *-commutative flip-+
Counts
3 → 33
Calls
3 calls:
4.0ms
(/ (- t x) (- a z))
5.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
7.0ms
(* (- y z) (/ (- t x) (- a z)))

series326.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ (- t x) (- a z))
150.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
129.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify35.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0258247
11244246
25003244

prune144.0ms

Filtered
42 candidates to 36 candidates (85.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New33942
Fresh011
Picked101
Done000
Total341044

Merged error: 3.8b

Counts
44 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- a z))
0.3b
(* (- t x) (/ 1 (- a z)))
3.0b
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))
5.3b
(* (- y z) (* (- t x) (/ 1 (- a z))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
50×frac-times
33×flip3-- flip--
25×associate-*r/
17×clear-num
13×frac-2neg
11×associate-*r*
10×associate-*l/
un-div-inv
associate-/r/
*-commutative div-inv
+-commutative flip3-+ flip-+ inv-pow
Counts
4 → 73
Calls
4 calls:
3.0ms
(/ 1 (- a z))
5.0ms
(* (- t x) (/ 1 (- a z)))
5.0ms
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))
10.0ms
(* (- y z) (* (- t x) (/ 1 (- a z))))

series360.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 1 (- a z))
52.0ms
(* (- t x) (/ 1 (- a z)))
144.0ms
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))
130.0ms
(* (- y z) (* (- t x) (/ 1 (- a z))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0389570
11892566
25003560

prune231.0ms

Filtered
85 candidates to 58 candidates (68.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New80585
Fresh549
Picked011
Done000
Total851095

Merged error: 3.8b

Counts
95 → 10

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.0ms

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

series491.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ (- y z) (- a z))
150.0ms
(+ x (* (/ (- y z) (- a z)) (- t x)))
291.0ms
(* (/ (- y z) (- a z)) (- t x))

simplify42.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0354297
11561292
25003290

prune152.0ms

Filtered
49 candidates to 38 candidates (77.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New48149
Fresh178
Picked011
Done011
Total491059

Merged error: 3.8b

Counts
59 → 10

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- t x) (- a z))
13.4b
(fma (- y z) (/ (- t x) (- a z)) 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
(/ (- t x) (- a z))
1.0ms
(fma (- y z) (/ (- t x) (- a z)) x)

series144.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
010848
127048
272046
3237342
4500140

prune40.0ms

Filtered
15 candidates to 12 candidates (80.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New12315
Fresh167
Picked101
Done112
Total151025

Merged error: 3.2b

Counts
25 → 10

regimes240.0ms

Accuracy

30% (5.9b remaining)

Error of 9.3b against oracle of 3.4b and baseline of 11.8b

bsearch91.0ms

Steps
ItersRangePoint
7
4.5639512795403315e-201
2.5859239974450258e-199
2.1567847010867933e-199
10
-1.7794668257788558e-146
-1.4120361073866138e-161
-6.706013977496147e-149

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0259
1259

end0.0ms

sample710.0ms

Algorithm
intervals
Results
271.0ms7849×body80valid
58.0ms477×body640valid
45.0ms423×body320valid
43.0ms275×body1280valid
16.0ms250×body160valid
3.0ms14×body2560valid