Details

Time bar (total: 3.3s)

sample26.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.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: 15.2b

Counts
2 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- t x) (- a z))
3.0b
(+ x (* (- y z) (/ (- t x) (- a z))))
6.1b
(* (- y z) (/ (- t x) (- a z)))

rewrite15.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))
4.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
6.0ms
(* (- y z) (/ (- t x) (- a z)))

series324.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(/ (- t x) (- a z))
146.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
126.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify36.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0258247
11244246
25003244

prune142.0ms

Filtered
42 candidates to 36 candidates (85.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New34842
Fresh011
Picked101
Done000
Total35944

Merged error: 3.0b

Counts
44 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- a z))
0.2b
(* (- t x) (/ 1 (- a z)))
4.9b
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))
6.1b
(* (- y z) (* (- t x) (/ 1 (- a z))))

rewrite26.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)))))
9.0ms
(* (- y z) (* (- t x) (/ 1 (- a z))))

series359.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1 (- a z))
51.0ms
(* (- t x) (/ 1 (- a z)))
149.0ms
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))
125.0ms
(* (- y z) (* (- t x) (/ 1 (- a z))))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0389570
11892566
25003560

prune224.0ms

Filtered
85 candidates to 57 candidates (67.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New82385
Fresh358
Picked101
Done000
Total86894

Merged error: 3.0b

Counts
94 → 8

localize9.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
(+ x (* (/ (- y z) (- a z)) (- t x)))

rewrite17.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))
6.0ms
(* (/ (- y z) (- a z)) (- t x))
5.0ms
(+ x (* (/ (- y z) (- a z)) (- t x)))

series490.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ (- y z) (- a z))
293.0ms
(* (/ (- y z) (- a z)) (- t x))
151.0ms
(+ x (* (/ (- y z) (- a z)) (- t x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0354297
11561292
25001290

prune140.0ms

Filtered
49 candidates to 37 candidates (75.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New49049
Fresh077
Picked011
Done000
Total49857

Merged error: 3.0b

Counts
57 → 8

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- t x) (- a z))
15.1b
(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)

series143.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 4 (49.0ms)

IterNodesCost
010848
127048
272046
3237342
4500140

prune33.0ms

Filtered
15 candidates to 11 candidates (73.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New13215
Fresh066
Picked011
Done011
Total131023

Merged error: 2.7b

Counts
23 → 10

regimes257.0ms

Accuracy

23.8% (6.3b remaining)

Error of 9.5b against oracle of 3.2b and baseline of 11.5b

bsearch88.0ms

Steps
ItersRangePoint
7
8.370170324343273e-100
1.3528541006384388e-98
8.441939723035317e-100
9
-2.7186785452030227e-60
-1.6086865666574188e-65
-1.6248197980411692e-65

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0259
1259

end0.0ms

sample699.0ms

Algorithm
intervals
Results
257.0ms7810×body80valid
58.0ms458×body640valid
41.0ms253×body1280valid
37.0ms416×body320valid
20.0ms278×body160valid
5.0ms29×body2560valid