Details

Time bar (total: 9.5s)

sample23.0ms

Algorithm
intervals
Results
10.0ms260×body80valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody320valid

simplify72.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

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: 1.3b

Counts
2 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.9b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.2b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*r/
frac-sub
tanh-def
distribute-rgt-in sub-neg distribute-lft-in
flip3-- *-commutative flip-- fma-udef
Counts
4 → 23
Calls
4 calls:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
7.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series604.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(tanh (/ x y))
77.0ms
(tanh (/ t y))
204.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
245.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify31.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0310342
11114342
25001342

prune116.0ms

Filtered
35 candidates to 28 candidates (80.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New31435
Fresh011
Picked101
Done000
Total32537

Merged error: 0.6b

Counts
37 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
4.7b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×frac-sub
13×tanh-def
11×associate-*r/
sub-neg
distribute-rgt-in associate-+r+ distribute-lft-in
flip3-- associate-*l* *-commutative flip--
+-commutative flip3-+ flip-+
Counts
4 → 41
Calls
4 calls:
2.0ms
(tanh (/ x y))
5.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
4.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series764.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(tanh (/ x y))
212.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
322.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
152.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify51.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0482752
11934746
25001741

prune176.0ms

Filtered
53 candidates to 41 candidates (77.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh134
Picked011
Done000
Total52658

Merged error: 0.6b

Counts
58 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
0.9b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
5.5b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
18×distribute-rgt-in distribute-lft-in frac-sub
13×tanh-def
10×sub-neg
associate-+r+
*-commutative
flip3-- associate-*r* flip--
+-commutative flip3-+ flip-+
Counts
4 → 52
Calls
4 calls:
2.0ms
(tanh (/ t y))
4.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
7.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
8.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series774.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
329.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
210.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
157.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0422714
11594705
25001703

prune178.0ms

Filtered
64 candidates to 43 candidates (67.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh134
Picked011
Done011
Total64670

Merged error: 0.6b

Counts
70 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tanh (/ t y)) (tanh (/ t y)))
1.0b
(* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))
1.2b
(fma y (/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y)))) x)
6.9b
(/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
637×associate-*r/
549×frac-times
494×tanh-def
450×frac-sub
227×associate-/l/
183×associate-*l/
19×*-commutative
11×associate-/r/
frac-add
associate-*r* prod-diff difference-of-squares
distribute-rgt-in distribute-lft-in associate-/l*
sub-neg flip3-- flip--
pow2 frac-2neg flip3-+ clear-num flip-+ fma-udef div-inv
Counts
4 → 509
Calls
4 calls:
5.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
43.0ms
(* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))
1.0ms
(fma y (/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y)))) x)
57.0ms
(/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))

series2.6s

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
445.0ms
(* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y)))))
921.0ms
(fma y (/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y)))) x)
1.1s
(/ (* z (- (* (tanh (/ t y)) (tanh (/ t y))) (* (tanh (/ x y)) (tanh (/ x y))))) (+ (tanh (/ t y)) (tanh (/ x y))))

simplify171.0ms

Algorithm
egg-herbie
Counts
521 → 521
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
0469614984
1500114984

prune2.9s

Filtered
521 candidates to 412 candidates (79.1%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New5201521
Fresh123
Picked011
Done022
Total5216527

Merged error: 0.6b

Counts
527 → 6

regimes146.0ms

Accuracy

0% (1.5b remaining)

Error of 2.0b against oracle of 0.5b and baseline of 2.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample572.0ms

Algorithm
intervals
Results
317.0ms8292×body80valid
17.0ms98×body640valid
13.0ms51×body1280valid
7.0ms61×body320valid
3.0ms39×body160valid