Details

Time bar (total: 3.9s)

sample26.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1446
21226
33276
48686
517276
635446
750016

prune2.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: 13.4b

Counts
2 → 1

localize10.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)))

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

series323.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ (- t x) (- a z))
148.0ms
(+ x (* (- y z) (/ (- t x) (- a z))))
127.0ms
(* (- y z) (/ (- t x) (- a z)))

simplify38.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248255
11222255
25002255

prune135.0ms

Filtered
42 candidates to 36 candidates (85.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New321042
Fresh000
Picked011
Done000
Total321143

Merged error: 3.4b

Counts
43 → 11

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))))

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))))

series354.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1 (- a z))
50.0ms
(* (- t x) (/ 1 (- a z)))
145.0ms
(+ x (* (- y z) (* (- t x) (/ 1 (- a z)))))
126.0ms
(* (- y z) (* (- t x) (/ 1 (- a z))))

simplify59.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0379594
11847592
25003592

prune206.0ms

Filtered
85 candidates to 56 candidates (65.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New81485
Fresh549
Picked011
Done101
Total87996

Merged error: 3.4b

Counts
96 → 9

localize12.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))

series483.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0342306
11511306
25001306

prune133.0ms

Filtered
49 candidates to 38 candidates (77.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New47249
Fresh257
Picked011
Done011
Total49958

Merged error: 3.4b

Counts
58 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- a z) (- t x))
1.0b
(/ 1 (/ (- a z) (- t x)))
3.8b
(+ x (* (- y z) (/ 1 (/ (- a z) (- t x)))))
5.3b
(* (- y z) (/ 1 (/ (- a z) (- t x))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-/r/
15×flip3-- flip--
12×frac-times associate-/r*
clear-num
frac-2neg div-inv
associate-*r/ associate-*r* associate-/l/
associate-*l/ un-div-inv
+-commutative flip3-+ div-sub *-commutative flip-+ remove-double-div inv-pow
Counts
4 → 53
Calls
4 calls:
4.0ms
(/ (- a z) (- t x))
4.0ms
(/ 1 (/ (- a z) (- t x)))
5.0ms
(+ x (* (- y z) (/ 1 (/ (- a z) (- t x)))))
7.0ms
(* (- y z) (/ 1 (/ (- a z) (- t x))))

series693.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (- a z) (- t x))
193.0ms
(/ 1 (/ (- a z) (- t x)))
151.0ms
(+ x (* (- y z) (/ 1 (/ (- a z) (- t x)))))
296.0ms
(* (- y z) (/ 1 (/ (- a z) (- t x))))

simplify49.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0322326
11533322
25001322

prune157.0ms

Filtered
65 candidates to 47 candidates (72.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New64165
Fresh066
Picked011
Done112
Total65974

Merged error: 3.4b

Counts
74 → 9

regimes196.0ms

Accuracy

24.5% (5.8b remaining)

Error of 10.0b against oracle of 4.1b and baseline of 11.9b

bsearch102.0ms

Steps
ItersRangePoint
7
4.5639512795403315e-201
2.5859239974450258e-199
2.666948169572465e-200
10
-1.7794668257788558e-146
-1.4120361073866138e-161
-3.487424751400493e-149

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03413
13413

end0.0ms

sample711.0ms

Algorithm
intervals
Results
273.0ms7849×body80valid
57.0ms477×body640valid
44.0ms275×body1280valid
38.0ms423×body320valid
15.0ms250×body160valid
3.0ms14×body2560valid