Details

Time bar (total: 3.2s)

sample31.0ms

Algorithm
intervals
Results
12.0ms250×body80valid
3.0ms19×body640valid
1.0ms12×body320valid
1.0msbody1280valid
0.0msbody160valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519075
645605
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: 10.5b

Counts
2 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

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

series144.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 4 (55.0ms)

IterNodesCost
010948
127148
271546
3238442
4500140

prune61.0ms

Filtered
15 candidates to 12 candidates (80.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New8715
Fresh011
Picked101
Done000
Total9817

Merged error: 5.8b

Counts
17 → 8

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- a t))
0.3b
(* (- y x) (/ 1 (- a t)))
12.6b
(fma (* (- y x) (/ 1 (- a t))) (- z t) x)

rewrite10.0ms

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

series187.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ 1 (- a t))
53.0ms
(* (- y x) (/ 1 (- a t)))
92.0ms
(fma (* (- y x) (/ 1 (- a t))) (- z t) x)

simplify56.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0145102
1571102
22549100
3500199

prune93.0ms

Filtered
33 candidates to 19 candidates (57.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New31233
Fresh077
Picked011
Done000
Total311041

Merged error: 5.8b

Counts
41 → 10

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y x) (- a t))
2.2b
(+ (* (/ (- y x) (- a t)) (- z t)) x)
4.3b
(* (/ (- y x) (- a t)) (- z t))

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

series429.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0359313
11545311
25001309

prune196.0ms

Filtered
54 candidates to 44 candidates (81.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New46854
Fresh448
Picked101
Done011
Total511364

Merged error: 5.7b

Counts
64 → 13

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

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

series338.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(/ (- z t) (- a t))
159.0ms
(+ (* (- y x) (/ (- z t) (- a t))) x)
122.0ms
(* (- y x) (/ (- z t) (- a t)))

simplify41.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0258252
11219250
25001248

prune160.0ms

Filtered
47 candidates to 41 candidates (87.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New42547
Fresh6511
Picked101
Done011
Total491160

Merged error: 3.8b

Counts
60 → 11

regimes270.0ms

Accuracy

9% (7.1b remaining)

Error of 11.1b against oracle of 3.9b and baseline of 11.8b

bsearch113.0ms

Steps
ItersRangePoint
8
7.40395357533121e-198
7.391279573739562e-194
5.0890777150204933e-194
9
-2.0939008728128375e-165
-5.754752544746523e-173
-5.263476764205083e-166

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03217
13217

end0.0ms

sample776.0ms

Algorithm
intervals
Results
300.0ms7757×body80valid
67.0ms501×body640valid
48.0ms291×body1280valid
39.0ms391×body320valid
17.0ms246×body160valid
3.0ms16×body2560valid