Details

Time bar (total: 3.3s)

sample35.0ms

Algorithm
intervals
Results
17.0ms265×body80valid
1.0msbody640valid
0.0msbody160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.3b

Counts
2 → 1

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

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

series271.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
25.0ms
(tanh (/ x y))
73.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
66.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify73.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05921136
127281079
250011079

prune136.0ms

Filtered
73 candidates to 95 candidates (-30.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New90595
Fresh000
Picked011
Done000
Total90696

Merged error: 1.0b

Counts
96 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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:
4.0ms
(tanh (/ x y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series248.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(tanh (/ x y))
73.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
86.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
63.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05531404
124171324
250031324

prune156.0ms

Filtered
85 candidates to 117 candidates (-37.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1152117
Fresh134
Picked101
Done011
Total1176123

Merged error: 0.3b

Counts
123 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

1.7b
(* (neg (tanh (/ x y))) z)
2.4b
(* (tanh (/ t y)) z)
3.7b
(* y (* (tanh (/ t y)) z))
4.6b
(* y (* (neg (tanh (/ x y))) z))

rewrite26.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
(* (neg (tanh (/ x y))) z)
5.0ms
(* (tanh (/ t y)) z)
6.0ms
(* y (* (tanh (/ t y)) z))
7.0ms
(* y (* (neg (tanh (/ x y))) z))

series139.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (neg (tanh (/ x y))) z)
35.0ms
(* (tanh (/ t y)) z)
34.0ms
(* y (* (tanh (/ t y)) z))
34.0ms
(* y (* (neg (tanh (/ x y))) z))

simplify50.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0413588
11715510
25001509

prune102.0ms

Filtered
74 candidates to 105 candidates (-41.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh044
Picked011
Done011
Total1056111

Merged error: 0.3b

Counts
111 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

4.3b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
4.3b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
5.3b
(sqrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
5.3b
(sqrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
36×frac-sub
26×pow1
24×tanh-def
22×sqrt-div
14×add-exp-log add-cbrt-cube
12×pow-prod-down
10×add-sqr-sqrt *-un-lft-identity associate-*r*
add-cube-cbrt sqrt-pow1 prod-exp cbrt-unprod
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip-- add-log-exp
pow1/2 associate-*l* sqrt-prod *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 116
Calls
4 calls:
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
10.0ms
(sqrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
10.0ms
(sqrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))

series366.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
65.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
116.0ms
(sqrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
119.0ms
(sqrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04941854
122131750
250031750

prune166.0ms

Filtered
92 candidates to 128 candidates (-39.1%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh033
Picked011
Done022
Total1286134

Merged error: 0.3b

Counts
134 → 6

regimes328.0ms

Accuracy

0% (1.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
13111
23511
33511

end0.0ms

sample842.0ms

Algorithm
intervals
Results
405.0ms8278×body80valid
20.0ms102×body640valid
13.0ms50×body1280valid
9.0ms67×body320valid
5.0ms51×body160valid

Profiling

Loading profile data...