Details

Time bar (total: 2.8s)

sample31.0ms

Algorithm
intervals
Results
13.0ms264×body80valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody320valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.8b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series196.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
26.0ms
(tanh (/ x y))
26.0ms
(tanh (/ t y))
70.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify61.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05121026
12380971
25001971

prune152.0ms

Filtered
90 candidates to 71 candidates (21.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New83790
Fresh000
Picked101
Done000
Total84791

Merged error: 2.0b

Counts
91 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.9b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
5.4b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite28.0ms

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

series208.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(tanh (/ x y))
28.0ms
(tanh (/ t y))
87.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
66.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04701039
12128970
25003970

prune157.0ms

Filtered
104 candidates to 76 candidates (26.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh156
Picked011
Done000
Total1029111

Merged error: 1.5b

Counts
111 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.3b
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (neg (tanh (/ x y)))))
5.5b
(* (* y z) (neg (tanh (/ x y))))
6.4b
(* (* y z) (tanh (/ t y)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/
14×pow1 add-exp-log add-cbrt-cube
13×associate-*r*
12×distribute-neg-frac
frac-add tanh-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-rgt-neg-out
associate-*l* *-commutative
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+ distribute-lft-out
Counts
4 → 83
Calls
4 calls:
2.0ms
(tanh (/ t y))
9.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (neg (tanh (/ x y)))))
7.0ms
(* (* y z) (neg (tanh (/ x y))))
6.0ms
(* (* y z) (tanh (/ t y)))

series151.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(tanh (/ t y))
64.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (neg (tanh (/ x y)))))
30.0ms
(* (* y z) (neg (tanh (/ x y))))
31.0ms
(* (* y z) (tanh (/ t y)))

simplify91.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0609904
13153829
25001828

prune117.0ms

Filtered
95 candidates to 72 candidates (24.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New93295
Fresh527
Picked101
Done011
Total995104

Merged error: 0.6b

Counts
104 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (+ (* (* y z) (tanh (/ t y))) (* -1 (* x z))))
0.0b
(tanh (/ t y))
0.3b
(+ (* (* y z) (tanh (/ t y))) (* -1 (* x z)))
6.4b
(* (* y z) (tanh (/ t y)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
11×add-log-exp
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
mul-1-neg sum-log
associate-*r/ associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative associate-+r- flip3-+ unsub-neg flip-+ tanh-def
associate-+r+ associate-*l* *-commutative distribute-lft-out
Counts
4 → 60
Calls
4 calls:
8.0ms
(+ x (+ (* (* y z) (tanh (/ t y))) (* -1 (* x z))))
2.0ms
(tanh (/ t y))
7.0ms
(+ (* (* y z) (tanh (/ t y))) (* -1 (* x z)))
6.0ms
(* (* y z) (tanh (/ t y)))

series149.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(+ x (+ (* (* y z) (tanh (/ t y))) (* -1 (* x z))))
28.0ms
(tanh (/ t y))
42.0ms
(+ (* (* y z) (tanh (/ t y))) (* -1 (* x z)))
29.0ms
(* (* y z) (tanh (/ t y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0326513
11517467
25001463

prune77.0ms

Filtered
72 candidates to 55 candidates (23.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh303
Picked011
Done011
Total74377

Merged error: 0b

Counts
77 → 3

regimes219.0ms

Accuracy

16.3% (1.7b remaining)

Error of 1.7b against oracle of 0.0b and baseline of 2.1b

bsearch20.0ms

Steps
ItersRangePoint
7
-1.4597861892495841e+179
-8.6934744022114e+176
-6.286112140868444e+178

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03013
13613
23613

end0.0ms

sample841.0ms

Algorithm
intervals
Results
398.0ms8314×body80valid
23.0ms114×body640valid
10.0ms41×body1280valid
8.0ms59×body320valid
4.0ms42×body160valid

Profiling

Loading profile data...