Details

Time bar (total: 5.1s)

sample79.0ms

Algorithm
intervals
Results
39.0ms626×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04314
19614
229114
382514
4202114
5500114

prune4.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: 14.1b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (* c t) (* i y))
5.1b
(* b (- (* c z) (* i a)))
6.1b
(* j (- (* c t) (* i y)))
6.4b
(* x (- (* y z) (* t a)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg
distribute-rgt-in distribute-lft-in associate-*r/
flip3-- flip--
*-commutative
Counts
4 → 25
Calls
4 calls:
4.0ms
(- (* c t) (* i y))
5.0ms
(* b (- (* c z) (* i a)))
5.0ms
(* j (- (* c t) (* i y)))
5.0ms
(* x (- (* y z) (* t a)))

series429.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* c t) (* i y))
66.0ms
(* b (- (* c z) (* i a)))
63.0ms
(* j (- (* c t) (* i y)))
261.0ms
(* x (- (* y z) (* t a)))

simplify67.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0231166
1643164
21830160
35001160

prune133.0ms

Filtered
37 candidates to 20 candidates (54.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New271037
Fresh000
Picked101
Done000
Total281038

Merged error: 10.0b

Counts
38 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

5.1b
(* b (- (* c z) (* i a)))
5.6b
(* x (- (* t a)))
6.1b
(* j (- (* c t) (* i y)))
6.1b
(* x (* y z))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r* *-commutative
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
distribute-lft-neg-in flip3-- distribute-rgt-neg-in flip--
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 24
Calls
4 calls:
5.0ms
(* b (- (* c z) (* i a)))
4.0ms
(* x (- (* t a)))
5.0ms
(* j (- (* c t) (* i y)))
3.0ms
(* x (* y z))

series187.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* b (- (* c z) (* i a)))
28.0ms
(* x (- (* t a)))
67.0ms
(* j (- (* c t) (* i y)))
24.0ms
(* x (* y z))

simplify131.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0184109
1473107
21245105
33586105
45002105

prune164.0ms

Filtered
36 candidates to 24 candidates (66.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New28836
Fresh549
Picked101
Done000
Total341246

Merged error: 6.8b

Counts
46 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

4.3b
(* (* x t) (- a))
5.1b
(* b (- (* c z) (* i a)))
6.1b
(* j (- (* c t) (* i y)))
6.1b
(* x (* y z))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
associate-*r*
flip3-- associate-*l* flip--
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 22
Calls
4 calls:
4.0ms
(* (* x t) (- a))
5.0ms
(* b (- (* c z) (* i a)))
5.0ms
(* j (- (* c t) (* i y)))
3.0ms
(* x (* y z))

series188.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* x t) (- a))
67.0ms
(* b (- (* c z) (* i a)))
65.0ms
(* j (- (* c t) (* i y)))
26.0ms
(* x (* y z))

simplify134.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0183108
1477106
21258104
33598104
45002104

prune152.0ms

Filtered
34 candidates to 22 candidates (64.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New32234
Fresh3811
Picked101
Done000
Total361046

Merged error: 6.6b

Counts
46 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

4.1b
(* (* x y) z)
4.3b
(* (* x t) (- a))
5.1b
(* b (- (* c z) (* i a)))
6.1b
(* j (- (* c t) (* i y)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l*
flip3-- flip--
neg-mul-1 associate-*r* distribute-rgt-neg-out
Counts
4 → 22
Calls
4 calls:
3.0ms
(* (* x y) z)
4.0ms
(* (* x t) (- a))
5.0ms
(* b (- (* c z) (* i a)))
5.0ms
(* j (- (* c t) (* i y)))

series185.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (* x y) z)
30.0ms
(* (* x t) (- a))
62.0ms
(* b (- (* c z) (* i a)))
69.0ms
(* j (- (* c t) (* i y)))

simplify134.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0181108
1480106
21262104
33602104
45002104

prune111.0ms

Filtered
34 candidates to 22 candidates (64.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New31334
Fresh369
Picked101
Done000
Total35944

Merged error: 6.6b

Counts
44 → 9

regimes602.0ms

Accuracy

-2.4% (6.1b remaining)

Error of 12.2b against oracle of 6.2b and baseline of 12.1b

bsearch89.0ms

Steps
ItersRangePoint
7
1.5826901800019543e+40
9.410933052996029e+41
8.929343836415226e+41

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06228
17428
28028
38028

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s18697×body80valid