Details

Time bar (total: 4.4s)

sample23.0ms

Algorithm
intervals
Results
10.0ms263×body80valid
1.0msbody640valid
0.0msbody160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0548
11418
23258
39648
434728
550028

prune3.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: 3.9b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*r/
pow1 add-exp-log frac-sub add-cbrt-cube
tanh-def
add-sqr-sqrt *-un-lft-identity
add-log-exp
add-cube-cbrt associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 70
Calls
4 calls:
2.0ms
(tanh (/ x y))
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
2.0ms
(tanh (/ t y))
12.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series644.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0509771
12427725
25001725

prune235.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New75782
Fresh000
Picked101
Done000
Total76783

Merged error: 0.7b

Counts
83 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
18×distribute-rgt-in distribute-lft-in frac-sub
13×tanh-def
11×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
10×sub-neg
*-un-lft-identity
associate-+r+
add-cube-cbrt
associate-*r* associate-*l* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip--
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 101
Calls
4 calls:
4.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
2.0ms
(tanh (/ t y))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series784.0ms

Counts
4 → 12
Calls
4 calls:
334.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
81.0ms
(tanh (/ t y))
210.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
159.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify73.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05441169
124201098
250011098

prune283.0ms

Filtered
113 candidates to 79 candidates (69.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh156
Picked101
Done000
Total1119120

Merged error: 0.7b

Counts
120 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (tanh (/ t y)) z)
1.6b
(* (- (tanh (/ x y))) z)
4.4b
(* y (* (- (tanh (/ x y))) z))
6.5b
(* y (* (tanh (/ t y)) z))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l*
18×pow1 add-exp-log add-cbrt-cube
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity associate-*l/
associate-*r* pow-prod-down prod-exp cbrt-unprod
associate-*r/ distribute-neg-frac
*-commutative tanh-def add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
distribute-lft-neg-out unswap-sqr
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 93
Calls
4 calls:
5.0ms
(* (tanh (/ t y)) z)
6.0ms
(* (- (tanh (/ x y))) z)
7.0ms
(* y (* (- (tanh (/ x y))) z))
7.0ms
(* y (* (tanh (/ t y)) z))

series410.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (tanh (/ t y)) z)
98.0ms
(* (- (tanh (/ x y))) z)
109.0ms
(* y (* (- (tanh (/ x y))) z))
106.0ms
(* y (* (tanh (/ t y)) z))

simplify53.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0413588
11715510
25001510

prune251.0ms

Filtered
105 candidates to 74 candidates (70.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1041105
Fresh268
Picked101
Done000
Total1077114

Merged error: 0.7b

Counts
114 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
1.6b
(* (- (tanh (/ x y))) z)
4.4b
(* y (* (- (tanh (/ x y))) z))
6.9b
(* y (tanh (/ t y)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*l*
15×add-sqr-sqrt
13×pow1 add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*r/ associate-*l/ distribute-neg-frac
pow-prod-down prod-exp cbrt-unprod
tanh-def add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in *-commutative
distribute-lft-neg-out unswap-sqr
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 82
Calls
4 calls:
2.0ms
(tanh (/ t y))
6.0ms
(* (- (tanh (/ x y))) z)
7.0ms
(* y (* (- (tanh (/ x y))) z))
5.0ms
(* y (tanh (/ t y)))

series349.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(tanh (/ t y))
95.0ms
(* (- (tanh (/ x y))) z)
108.0ms
(* y (* (- (tanh (/ x y))) z))
69.0ms
(* y (tanh (/ t y)))

simplify48.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0351510
11637453
25001453

prune223.0ms

Filtered
94 candidates to 71 candidates (75.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New92294
Fresh426
Picked011
Done000
Total965101

Merged error: 0.4b

Counts
101 → 5

regimes120.0ms

Accuracy

0% (1.3b remaining)

Error of 1.5b against oracle of 0.2b and baseline of 1.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
13111
23511
33511

end0.0ms

sample573.0ms

Algorithm
intervals
Results
320.0ms8302×body80valid
15.0ms103×body640valid
10.0ms44×body1280valid
7.0ms64×body320valid
2.0ms30×body160valid