Details

Time bar (total: 6.4s)

sample305.0ms

Algorithm
intervals
Results
52.0ms115×body1280valid
18.0ms256×pre80true
16.0ms64×body640valid
6.0ms38×body320valid
2.0ms35×body80valid
0.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.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: 12.4b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.7b
(tan (+ y z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series109.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ x (- (tan (+ y z)) (tan a)))
33.0ms
(- (tan (+ y z)) (tan a))
32.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune90.0ms

Filtered
51 candidates to 39 candidates (23.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 0.1b

Counts
52 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan y) (tan z)))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.3b
(* (tan y) (tan z))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
tan-quot
sub-neg diff-log associate-*r* associate-*l*
associate-+r+ flip3-- sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative frac-times associate-+r- flip3-+ times-frac associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod flip-+ unswap-sqr
Counts
4 → 66
Calls
4 calls:
3.0ms
(- 1 (* (tan y) (tan z)))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
14.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series297.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(- 1 (* (tan y) (tan z)))
129.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
121.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(* (tan y) (tan z))

simplify85.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0356871
11108831
23700824
35001824

prune141.0ms

Filtered
78 candidates to 57 candidates (26.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New72678
Fresh246
Picked101
Done000
Total751085

Merged error: 0.1b

Counts
85 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
0.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(* (tan y) (sin z))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
11×add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt
pow1
times-frac
tan-quot associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log div-exp associate-*l/ prod-exp sum-log cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 74
Calls
4 calls:
18.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
17.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
6.0ms
(/ (* (tan y) (sin z)) (cos z))
5.0ms
(* (tan y) (sin z))

series285.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
119.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
22.0ms
(/ (* (tan y) (sin z)) (cos z))
17.0ms
(* (tan y) (sin z))

simplify39.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03911035
11334960
25002951

prune131.0ms

Filtered
86 candidates to 62 candidates (27.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New84286
Fresh189
Picked101
Done000
Total861096

Merged error: 0.1b

Counts
96 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (pow (- 1 (* (tan y) (tan z))) 3))
0.1b
(- (/ (+ (tan y) (tan z)) (cbrt (pow (- 1 (* (tan y) (tan z))) 3))) (tan a))
0.2b
(pow (- 1 (* (tan y) (tan z))) 3)
0.3b
(* (tan y) (tan z))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
16×cbrt-prod
14×*-un-lft-identity
12×add-cube-cbrt
pow1 add-exp-log unpow-prod-down cube-prod add-cbrt-cube
add-log-exp difference-of-squares
tan-quot times-frac
cube-div
pow-unpow flip3-- associate-*r* associate-*l* flip-- sqr-pow
cube-mult cbrt-div unpow3
frac-times pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp *-commutative frac-sub rem-cbrt-cube cbrt-unprod distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 89
Calls
4 calls:
3.0ms
(cbrt (pow (- 1 (* (tan y) (tan z))) 3))
28.0ms
(- (/ (+ (tan y) (tan z)) (cbrt (pow (- 1 (* (tan y) (tan z))) 3))) (tan a))
4.0ms
(pow (- 1 (* (tan y) (tan z))) 3)
5.0ms
(* (tan y) (tan z))

series204.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(cbrt (pow (- 1 (* (tan y) (tan z))) 3))
121.0ms
(- (/ (+ (tan y) (tan z)) (cbrt (pow (- 1 (* (tan y) (tan z))) 3))) (tan a))
38.0ms
(pow (- 1 (* (tan y) (tan z))) 3)
21.0ms
(* (tan y) (tan z))

simplify49.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04021065
11536998
25002979

prune112.0ms

Filtered
101 candidates to 64 candidates (36.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1010101
Fresh099
Picked011
Done000
Total10110111

Merged error: 0.1b

Counts
111 → 10

regimes856.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.7s3893×body1280valid
527.0ms8000×pre80true
484.0ms1948×body640valid
124.0ms738×body320valid
56.0ms1125×body80valid
34.0ms296×body160valid

Profiling

Loading profile data...