Details

Time bar (total: 5.5s)

sample44.0ms

Algorithm
intervals
Results
28.0ms256×body80valid
1.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.3b

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.0b
(- (tanh (/ t y)) (tanh (/ x y)))
3.8b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite36.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 (/ t y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
23.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series808.0ms

Counts
4 → 12
Calls
4 calls:
340.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
78.0ms
(tanh (/ t y))
230.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
160.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify71.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05841136
126581079
250021079

prune307.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.4b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
3.2b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite73.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 (/ t y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
37.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series671.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
217.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
216.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
157.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05391404
123341324
250031324

prune357.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.4b

localize14.0ms

Local error

Found 4 expressions with local error:

1.3b
(* (- (tanh (/ x y))) z)
1.6b
(* (tanh (/ t y)) z)
3.8b
(* y (* (tanh (/ t y)) z))
6.1b
(* y (* (- (tanh (/ x y))) z))

rewrite41.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:
8.0ms
(* (- (tanh (/ x y))) z)
5.0ms
(* (tanh (/ t y)) z)
11.0ms
(* y (* (tanh (/ t y)) z))
14.0ms
(* y (* (- (tanh (/ x y))) z))

series413.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0413588
11715510
25001510

prune307.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
1.3b
(* (- (tanh (/ x y))) z)
5.6b
(* y (tanh (/ t y)))
6.1b
(* y (* (- (tanh (/ x y))) z))

rewrite49.0ms

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

series444.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
100.0ms
(* (- (tanh (/ x y))) z)
68.0ms
(* y (tanh (/ t y)))
111.0ms
(* y (* (- (tanh (/ x y))) z))

simplify85.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
0616953
12992887
25001884

prune318.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

regimes124.0ms

Accuracy

0% (1.2b remaining)

Error of 1.4b against oracle of 0.3b and baseline of 1.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
13111
23511
33511

end0.0ms

sample1.1s

Algorithm
intervals
Results
805.0ms8321×body80valid
26.0ms83×body640valid
25.0ms55×body1280valid
18.0ms76×body320valid
5.0ms33×body160valid