Details

Time bar (total: 6.2s)

sample25.0ms

Algorithm
intervals
Results
12.0ms270×body80valid
1.0msbody640valid
0.0msbody320valid

simplify94.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: 4.8b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series1.2s

Counts
4 → 12
Calls
4 calls:
404.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
340.0ms
(tanh (/ x y))
278.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
198.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify87.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
05921136
127181079
250011079

prune311.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New90595
Fresh000
Picked011
Done000
Total90696

Merged error: 0.5b

Counts
96 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

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

series818.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(tanh (/ x y))
262.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
263.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
191.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify81.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
05531404
124071324
250011324

prune353.0ms

Filtered
117 candidates to 85 candidates (72.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1143117
Fresh314
Picked101
Done011
Total1185123

Merged error: 0.2b

Counts
123 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

2.2b
(* (tanh (/ t y)) z)
2.9b
(* (- (tanh (/ x y))) z)
3.9b
(* y (* (- (tanh (/ x y))) z))
7.5b
(* y (* (tanh (/ t y)) z))

rewrite30.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:
6.0ms
(* (tanh (/ t y)) z)
7.0ms
(* (- (tanh (/ x y))) z)
8.0ms
(* y (* (- (tanh (/ x y))) z))
7.0ms
(* y (* (tanh (/ t y)) z))

series507.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (tanh (/ t y)) z)
128.0ms
(* (- (tanh (/ x y))) z)
130.0ms
(* y (* (- (tanh (/ x y))) z))
123.0ms
(* y (* (tanh (/ t y)) z))

simplify64.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0413588
11715510
25001510

prune296.0ms

Filtered
105 candidates to 74 candidates (70.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh123
Picked101
Done011
Total1055110

Merged error: 0.2b

Counts
110 → 5

localize21.0ms

Local error

Found 4 expressions with local error:

7.5b
(* y (* (tanh (/ t y)) z))
9.0b
(cbrt (* y (* (tanh (/ t y)) z)))
9.0b
(cbrt (* y (* (tanh (/ t y)) z)))
9.0b
(cbrt (* y (* (tanh (/ t y)) z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*r/ associate-*l/
pow1 add-exp-log cbrt-div add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
tanh-def add-log-exp
cbrt-prod pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r* *-commutative
Counts
4 → 57
Calls
4 calls:
7.0ms
(* y (* (tanh (/ t y)) z))
6.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
6.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
6.0ms
(cbrt (* y (* (tanh (/ t y)) z)))

series876.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(* y (* (tanh (/ t y)) z))
248.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
235.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
260.0ms
(cbrt (* y (* (tanh (/ t y)) z)))

simplify46.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0296640
1994580
25001574

prune321.0ms

Filtered
69 candidates to 57 candidates (82.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh033
Picked011
Done011
Total69574

Merged error: 0.2b

Counts
74 → 5

regimes192.0ms

Accuracy

66.2% (1.1b remaining)

Error of 1.8b against oracle of 0.6b and baseline of 4.0b

bsearch5.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04348
15148
25548
35548

end0.0ms

sample653.0ms

Algorithm
intervals
Results
376.0ms8295×body80valid
16.0ms98×body640valid
12.0ms53×body1280valid
9.0ms69×body320valid
4.0ms45×body160valid