Details

Time bar (total: 4.9s)

sample41.0ms

Algorithm
intervals
Results
28.0ms260×body80valid
0.0msbody320valid
0.0msbody640valid

simplify73.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.7b

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

rewrite31.0ms

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

series668.0ms

Counts
4 → 12
Calls
4 calls:
338.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
82.0ms
(tanh (/ t y))
81.0ms
(tanh (/ x y))
167.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify65.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0509771
12427725
25001725

prune254.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.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:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
22.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
41.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series558.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(tanh (/ x y))
85.0ms
(tanh (/ t y))
224.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
166.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04701039
12128970
25002970

prune306.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
1.0ms
(tanh (/ x y))
11.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
11.0ms
(* (* y z) (- (tanh (/ x y))))
9.0ms
(* (* y z) (tanh (/ t y)))

series433.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(tanh (/ x y))
168.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
91.0ms
(* (* y z) (- (tanh (/ x y))))
87.0ms
(* (* y z) (tanh (/ t y)))

simplify97.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
0613904
13182829
25002828

prune296.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

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

series265.0ms

Counts
3 → 9
Calls
3 calls:
97.0ms
(+ x (+ (* t z) (* (* y z) (- (tanh (/ x y))))))
77.0ms
(tanh (/ x y))
91.0ms
(* (* y z) (- (tanh (/ x y))))

simplify46.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0330448
11517398
25001395

prune164.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes93.0ms

Accuracy

44.5% (2.4b remaining)

Error of 2.5b against oracle of 0.2b and baseline of 4.4b

bsearch137.0ms

Steps
ItersRangePoint
9
1.3782422513623384e+178
1.140018944768951e+187
3.138489034996734e+181
11
-5.872602239801345e+137
-6.053704673010924e+111
-1.6046254813578367e+131

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03715
14115
24815
34815

end0.0ms

sample1.1s

Algorithm
intervals
Results
820.0ms8236×body80valid
33.0ms104×body640valid
22.0ms53×body1280valid
18.0ms74×body320valid
7.0ms39×body160valid