Details

Time bar (total: 5.8s)

sample35.0ms

Algorithm
intervals
Results
21.0ms270×body80valid
1.0msbody640valid
0.0msbody320valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0548
11418
23258
39648
434728
550028

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.8b

localize15.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))))

rewrite39.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:
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
1.0ms
(tanh (/ x y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
25.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series824.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
84.0ms
(tanh (/ x y))
227.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
168.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify72.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05921136
127181079
250011079

prune308.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

localize11.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)))))

rewrite79.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:
1.0ms
(tanh (/ x y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
23.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
44.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series720.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(tanh (/ x y))
237.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
227.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
171.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05531404
124071324
250011324

prune367.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize14.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))

rewrite48.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)
8.0ms
(* (- (tanh (/ x y))) z)
18.0ms
(* y (* (- (tanh (/ x y))) z))
13.0ms
(* y (* (tanh (/ t y)) z))

series443.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (tanh (/ t y)) z)
107.0ms
(* (- (tanh (/ x y))) z)
116.0ms
(* y (* (- (tanh (/ x y))) z))
114.0ms
(* y (* (tanh (/ t y)) z))

simplify50.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0413588
11715510
25001510

prune312.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize18.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)))

rewrite42.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:
12.0ms
(* y (* (tanh (/ t y)) z))
8.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
11.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
8.0ms
(cbrt (* y (* (tanh (/ t y)) z)))

series750.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* y (* (tanh (/ t y)) z))
219.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
211.0ms
(cbrt (* y (* (tanh (/ t y)) z)))
211.0ms
(cbrt (* y (* (tanh (/ t y)) z)))

simplify34.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0296640
1994580
25001574

prune317.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes177.0ms

Accuracy

66.2% (1.1b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04348
15148
25548
35548

end0.0ms

sample966.0ms

Algorithm
intervals
Results
661.0ms8295×body80valid
27.0ms98×body640valid
22.0ms53×body1280valid
15.0ms69×body320valid
7.0ms45×body160valid